









package com.company.tguanchazhemoshi.section1;

/**
 * @author cbf4Life cbf4life@126.com
 * I'm glad to share my knowledge with you all.
 * �����ӣ���˹��ʦ�ܣ���������Ҫ����
 */
public class HanFeiZi implements IHanFeiZi{
	
	private boolean isHavingBreakfast = false;
	
	private boolean isHavingFun = false;
	
	
	public void haveBreakfast(){
		System.out.println("������:��ʼ�Է���...");
		this.isHavingBreakfast =true;
	}
	
	
	public void haveFun(){
		System.out.println("������:��ʼ������...");
		this.isHavingFun = true;
	}
		
	
	public boolean isHavingBreakfast() {
		return isHavingBreakfast;
	}

	public void setHavingBreakfast(boolean isHavingBreakfast) {
		this.isHavingBreakfast = isHavingBreakfast;
	}

	public boolean isHavingFun() {
		return isHavingFun;
	}

	public void setHavingFun(boolean isHavingFun) {
		this.isHavingFun = isHavingFun;
	}
	
}